golang.org/x/net/http2.pipe.CloseWithError (method)

9 uses

	golang.org/x/net/http2 (current package)
		pipe.go#L106: func (p *pipe) CloseWithError(err error) { p.closeWithError(&p.err, err, nil) }
		server.go#L1655: 		p.CloseWithError(err)
		server.go#L1812: 		st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d bytes", st.declBodyBytes))
		server.go#L1877: 		st.body.CloseWithError(fmt.Errorf("request declared a Content-Length of %d but only wrote %d bytes",
		server.go#L1881: 		st.body.CloseWithError(io.EOF)
		server.go#L1902: 	st.body.CloseWithError(fmt.Errorf("%w", os.ErrDeadlineExceeded))
		transport.go#L1551: 		cs.bufPipe.CloseWithError(err) // no-op if already closed
		transport.go#L1556: 		cs.bufPipe.CloseWithError(errRequestCanceled)
		transport.go#L2885: 	cs.bufPipe.CloseWithError(serr)